<template>
    <el-card class="box-card">
    <div slot="header" class="clearfix">
        <span><th>会员列表</th></span>
    </div>
        <el-table
            :data="tableData"
            border
            style="width: 100%">
            <el-table-column
            prop="UID"
            label="序列号"
            width="120">
            </el-table-column>
            <el-table-column
            fixed
            prop="CTime"
            label="账号创建时间"
            width="150">
            </el-table-column>
            <el-table-column
            prop="Count"
            label="账号"
            width="120">
            </el-table-column>
            <el-table-column
            prop="Nick"
            label="昵称"
            width="120">
            </el-table-column>
           <el-table-column
            prop="Phone"
            label="电话"
            width="120">
            </el-table-column>
           <el-table-column
            prop="IDCard"
            label="身份证号码"
            width="120">
            </el-table-column>
            <el-table-column
            label="操作"
            width="100">
            <template slot-scope="scope">
                <el-button @click="handleClick(scope.row)" type="text" size="small">查看</el-button>
                <el-button type="text" size="small">编辑</el-button>
            </template>
            </el-table-column>
        </el-table>
    </el-card>
</template>

<script>
    export default {
        data(){
            return{
                tableData:[]
            }
        },
        mounted(){
            this.$axios.post("/User/search").then(res=>{
                const result = res.data.d.L;
                this.tableData = result
            })
        }
    }
</script>

<style scoped>

</style>